@use 'devui-theme/styles-var/devui-var.scss' as *;
body {
  height: 100%;
  min-height: 100vh;
  background-color: $devui-global-bg;
}

html {
  height: 100%;
}

#app {
  height: 100%;
}

.content-card {
  margin: 8px;
  overflow: hidden;
  background-color: $devui-base-bg;
  border-radius: $devui-border-radius-card;
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  height: 400px;
  transition: transform 0.3s, box-shadow 0.3s;

  &:hover {
    transform: translateY(-5px);
    box-shadow: $devui-shadow-length-base $devui-shadow;
  }
}

.content-card-sm {
  margin: 8px;
  overflow: hidden;
  background-color: $devui-base-bg;
  border-radius: $devui-border-radius-card;
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  height: 192px;
  transition: transform 0.3s, box-shadow 0.3s;

  &:hover {
    transform: translateY(-5px);
    box-shadow: $devui-shadow-length-base $devui-shadow;
  }
}


.chart-card {
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  background-color: $devui-base-bg;

  .card-title {
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
  }

  .card-subtitle {
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
    color: $devui-aide-text-stress;
  }

  .card-content {
    flex: 1;
    margin-top: 12px;
  }
}

* {
  -webkit-user-drag: none;
}

[draggable="true"] {
  -webkit-user-drag: element;
}